package com.testfileupload.uploadimg.design.decorate.define;

public class Client {
    public static void main(String[] args) {
        Component component = new ConcreateComponent();
        //第一次修饰
        component = new ConcreateDecorator1(component);
        component = new ConcreateDecorator2(component);
        component.operate();
    }
}
